﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[System.Serializable]
public class _TriggerEventManager : MonoBehaviour {
    private _EventManager _eventManager;

    // Start is called before the first frame update
    void Awake() {
        _eventManager = GetComponent<_EventManager>() as _EventManager;
    }

    public void TriggerEvent(string eventKey) {
        _eventManager.__TriggerEvent(eventKey);
    }

    public void TriggerEvent(string eventKey, object o) {
        _eventManager.__TriggerEvent(eventKey, o);
    }


}
